package com.gable.exhibition.service;

import com.gable.common.util.ReturnResultUtil;
import com.gable.exhibition.view.TrainView;

/**
 * Created by SJX on 2018/3/6.
 */
public interface TrainService {

    /**
     * 获取培训列表查询
     * @param trainView
     * @Create user SJX
     * @Create date 2018/3/6
     * @return
     */
    ReturnResultUtil queryTrainList(TrainView trainView);

    /**
     * 增加培训记录
     * @param trainView
     * @Create user SJX
     * @Create date 2018/3/6
     * @return
     */
    ReturnResultUtil addTrain(TrainView trainView);

    /**
     * 获取培训记录明细
     * @param trainId
     * @Create user SJX
     * @Create date 2018/3/6
     * @return
     */
    ReturnResultUtil queryTrainInfo(Long trainId);
}
